feat(ingest): add Confluence Cloud source adapter - #319
Open
mattsenicksigma wants to merge 5 commits into
Open
Conversation
Adds a Confluence Cloud ingest adapter so ktx can pull pages from Confluence spaces and synthesize them into wiki items. Closes Kaelio#169 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@mattsenicksigma is attempting to deploy a commit to the Kaelio Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
Author
4 tasks
Documents the confluence driver in context-sources.mdx and ktx-yaml.mdx, following the same structure as other context-source integrations. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… fetch sync paths Applies the same fixes andreybavt flagged on the Sigma adapter (PR Kaelio#316) before he reviews this one: the manifest's fresh fetchedAt was included in rawFiles, which would spuriously mark it modified on every diff; pageCount double-counted pages that were re-fetched (present in both totalFetched and the stale existingByPageId map); and the confluence_synthesize skill documented a capped field that fetch.ts never writes. Also adds fetch.test.ts, which the adapter was missing entirely, covering skip-unchanged, refetch-on-version-change, stale-page eviction, and preserve-on-transient-failure.
…config tryPull() called git.pull() with no strategy, so a diverged cache's fate depended on the developer's global pull.rebase/pull.ff config instead of being deterministic. With pull.rebase=true, a locally-diverged cache silently rebased instead of failing, which skipped the cloneFresh fallback that the code (and repo-fetch.test.ts) both assume runs on divergence.
…egration # Conflicts: # docs-site/content/docs/configuration/ktx-yaml.mdx # docs-site/content/docs/integrations/context-sources.mdx # packages/cli/src/context/ingest/local-adapters.ts # packages/cli/src/context/project/driver-schemas.ts # packages/cli/src/public-ingest.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Closes #169
Adds a Confluence Cloud ingest adapter that fetches pages from one or more Confluence spaces and synthesizes them into ktx wiki items via a new
confluence_synthesizeskill.confluencedriver recognized inconnectionConfigSchemaandsourceAdapterByDriverSourceAdapterpattern:detect/fetch/chunkconfluence_synthesizeskill guides the memory agent in extracting durable wiki candidates from storage XMLktx.yamlconnection shape:Test plan
pnpm run type-checkpassespnpm run testpasses (35 new confluence tests)pnpm run dead-codepasses (Biome + Knip default + Knip production)pnpm run buildpassesconfluenceconnection to a ktx project and runktx ingest <connection-id>🤖 Generated with Claude Code